package com.online_video.entity;

import java.io.Serializable;

/**
 * @author zhenghouwen
 * @create 2022-03-14 10:57
 */

public class User implements Serializable {
    private static final long serialVersionUID = 121321312312455L;
    private Integer id;
    private Integer role;
    private String username;
    private String password;
    private String nickname;
    private String gender;
    private String telephone;
    private String email;
    private String introduce;
    private String headportrait;
    private Integer isactive;
    private Integer isvip;

    public User() {
    }

    public User(Integer id, Integer role, String username, String password, String nickname, String gender, String telephone, String email, String introduce, String headportrait, Integer isactive, Integer isvip) {
        this.id = id;
        this.role = role;
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.gender = gender;
        this.telephone = telephone;
        this.email = email;
        this.introduce = introduce;
        this.headportrait = headportrait;
        this.isactive = isactive;
        this.isvip = isvip;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getHeadportrait() {
        return headportrait;
    }

    public void setHeadportrait(String headportrait) {
        this.headportrait = headportrait;
    }

    public Integer getIsactive() {
        return isactive;
    }

    public void setIsactive(Integer isactive) {
        this.isactive = isactive;
    }

    public Integer getIsvip() {
        return isvip;
    }

    public void setIsvip(Integer isvip) {
        this.isvip = isvip;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", role=" + role +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", nickname='" + nickname + '\'' +
                ", gender='" + gender + '\'' +
                ", telephone='" + telephone + '\'' +
                ", email='" + email + '\'' +
                ", introduce='" + introduce + '\'' +
                ", headportrait='" + headportrait + '\'' +
                ", isactive=" + isactive +
                ", isvip=" + isvip +
                '}';
    }
}
